package com.xiaozhichao.javaapi.designpattern.observer.model.userdefined;

public class Test {

    public static void main(String[] args) {
        Observerable observerable = new WechatServer();
        Observer observer = new User("Tom");

        observerable.registerObserver(observer);
        observerable.notifyObserver("aaa");

    }
}
